package com.jy.wms.common.result;

import java.util.List;

/**
 * @ClassName: TreeResult
 * @Description: 传递树的时候包装的方法
 * @Author liyi
 * @Date 2017/8/31 15:34
 */
public class TreeResult {

    //数据id  必须唯一（必填）
    private String key;
    //显示标题(必填)
    private String label;
    //当前树的子集(必填)
    private List<TreeResult> children;
    //指定节点禁用(非必填)
    private String disabled;
    //图标(非必填)
    private String icon;
    //是否被选中（checked: "isChecked"）
    private String checked;
    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<TreeResult> getChildren() {
        return children;
    }

    public void setChildren(List<TreeResult> children) {
        this.children = children;
    }

    public String getDisabled() {
        return disabled;
    }

    public void setDisabled(String disabled) {
        this.disabled = disabled;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getChecked() {
        return checked;
    }

    public void setChecked(String checked) {
        this.checked = checked;
    }
}
